package org.example.workbench.service;

import org.example.workbench.domain.Contacts;

import java.util.List;
import java.util.Map;

public interface ContactsService {
    List<Contacts> getContactsDetailByCustomerId(String customerId);
    List<Contacts> getContactsByName(String contactsName);
    int insertContactByContact(Contacts contacts);
    int deleteOneContactsById(String contactsId);
    List<Contacts> getContactsByMap(Map<String,Object> map);
    int getTotalContactsCount(Map<String,Object> map);
    int insertOneContactsByContacts(Contacts contacts);
    Contacts getOneContactsById(String id);
    int updateOneContactsByContact(Contacts contacts);
    Contacts getOneContactsDetailById(String id);
}
